addi x10, x0, 28
addi x20, x0, 24
add x21, x10, x20
addi x1, x0, 2
csrrw zero, mepc, x21
addi x30, x0, 0
auipc x2, 0
addi x2, x2, 120
csrrsi zero, mstatus, 8
auipc x31, 0
addi x31, x31, 16
csrrw x0, mtvec, x31
beq x30, x0, start
addi x30, x30, 1
addi x30, x30, 1
mret
start: addi x2, x2, 120
ecall
sd   x2, 0(x2)
sd   x1, 8(x2)
ld   x4, 0(x2)
ld   x5, 8(x2)
addi x6, x4, 5
csrrw x31, mtvec, x10
addi x10, x10, 1
csrrw x31, mtvec, x10
# beq  x10, x0, loop
# jalr x1, 0(x1)
loop: addi x6, x6, -1
bne x6, x4, loop
addi x6, x6, 6
loop2: addi  x6, x6,-1
addi  x6, x6,-1
# addi  x6, x6, 3
# addi  x6, x6, -4
bgt   x6, x4, loop2
addi x10, x0, 1
jal   x1, start
end: addi x6, x6, -1
addi x6, x6, -2
addi x6, x6, 2
addi x6, x6, 1




